﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace com.ytocargo.Core.AirPortCharts
{
    public interface IAirPortChartStore
    {
        void Insert(AirPortChart airPortChart);

        IReadOnlyList<AirPortChart> GetAirPortCharts();

        Task InsertAsync(AirPortChart airPortChart);

        IQueryable<AirPortChart> GetAll();

        Task<AirPortChart> GetByIdAsync(string airPortId);

        Task UpdateAsync(AirPortChart airPortChart);

        Task<bool> DeleteAllAsync();
    }
}
